<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>    
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>

	字符串长度: ${fn:length("hello")}  <br>
	字符串包含: ${fn:contains("hello world","hello")} <br>
	截取字串:  ${fn:substring("hello world",3,5)}  <br>
	是否以开头: ${fn:startsWith("hello","he") } <br>
	是否以结尾: ${fn:endsWith("hello","he") } <br>
	求下表:   ${fn:indexOf("hello","e")} <br>
	分割:    ${fn:split("123-456","-")} <br>
	去字符串两头空白: ${fn:trim("    h e l l o    ") } <br>
</body>
</html>